public abstract class SoyMilk {
    public final void make(){
        select();
        if (gouZi())
        addSome();
        soak();
        broken();
    }

    public void select(){
        System.out.println("第一步:  选择黄豆");
    }

    public abstract void addSome();

    public void soak(){
        System.out.println("第三步:  浸泡豆子");
    }

    public void broken(){
        System.out.println("第四步:  放入豆浆机打碎");
    }

    protected boolean gouZi(){
        return true;
    }

}
